treeview: Don't draw background twice
authorTimm Bäder <mail@baedert.org>
Fri, 8 Dec 2017 15:46:46 +0000 (16:46 +0100)
committerTimm Bäder <mail@baedert.org>
Sat, 9 Dec 2017 12:15:07 +0000 (13:15 +0100)
This is done unconditionally for all widgets these days.

gtk/gtktreeview.c

index 5146b0fc666a505c02ab0372458da5d92ced4722..fe5ec34f21a54309d1665374002dabc63a089e5d 100644 (file)
@@ -5222,10 +5222,6 @@ gtk_tree_view_snapshot (GtkWidget   *widget,
   width = gtk_widget_get_width (widget);
   height = gtk_widget_get_height (widget);
 
-  gtk_snapshot_render_background (snapshot, context,
-                                  0, 0,
-                                  width, height);
-
   gtk_snapshot_push_clip (snapshot,
                           &GRAPHENE_RECT_INIT(
                               0, gtk_tree_view_get_effective_header_height (tree_view),